export const ColumnFields: any = [
  {
    caption: '商品编码',
    dataField: 'productCode',
    minWidth: 120,
    fixed: true,
    alignment: 'left',
  },
  {
    caption: '商品名称',
    dataField: 'productName',
    dataTypeCustom: "zh-string",
    minWidth: 240,
    fixed: true,
    alignment: 'left',
  },
  {
    caption: '商品类别',
    dataField: 'typeName',
    dataTypeCustom: "zh-string",
    width: 120,
    alignment: 'left',
  },
  {
    caption: '基本计量单位',
    dataField: 'unitName',
    dataTypeCustom: "zh-string",
    alignment: 'left',
    width: 120,
  },
  {
    caption: '批次',
    dataField: 'lotNumber',
    alignment: 'right',
    width: 120,
    headerFilter: {
      visible: true,
      allowSearch: true,
    },
  },
  {
    caption: '结存数量',
    dataField: 'balanceQuantity',
    width: 120,
    alignment: 'right',
    format: '#,##0.0000',
    allowHeaderFiltering: true,
  },
  {
    caption: '结存单价',
    dataField: 'balanceUnitPrice',
    width: 120,
    alignment: 'right',
    format: '#,##0.0000',
    allowHeaderFiltering: true,
  },
  {
    caption: '结存金额',
    dataField: 'balanceAmount',
    alignment: 'right',
    width: 120,
    format: '#,##0.00',
  },

  {
    caption: '库龄',
    alignment: 'center',
    columns: [],
  },
];
